#include "systemStateBase.h"
SystemStateBase::SystemStateBase(QObject* parent) : QObject(parent)
{
	m_writer = new SystemJournal();
	m_com = component;
	m_com->RegisterSystemEventCallBake([&](int event) {
		this->ComponentEvnetHandle(event);
		});
}
SystemStateBase::~SystemStateBase() 
{}